package com.ctosb.classviewer.clazz.cp;

import com.ctosb.classviewer.ClassReader;
import lombok.Data;
import lombok.experimental.Accessors;

//todo
@Data
@Accessors(chain = true)
public class CONSTANT_MethodHandle_info extends Cp_info {

    private byte reference_kind;
    private short reference_index;

    @Override
    protected void doParse(ClassReader classReader) {
        reference_kind = classReader.readByte();
        reference_index = classReader.readShort();
    }
}
